package com.demo.project_template.service;

import com.demo.project_template.entity.UserCoupon;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户优惠卷 服务类
 * </p>
 *
 * @author 杨玉龙
 * @since 2023-06-19 15:56:44
 */
public interface UserCouponService extends IService<UserCoupon> {

    /**
     * 用户领取优惠券
     *
     * @param userId   用户id
     * @param couponId 优惠券id
     */
    void userReceiveCoupon(Integer userId, Integer couponId);
}
